import { req } from '../utils/req.js';

export default {
  getCategoryList(param) {
    return req.post("/api8.infomation/categoryList", param)
  },
  getList(param) {
    return req.post("/api8.infomation/getList", param)
  },
  getDetail(param) {
    return req.post("/api8.infomation/getInfo", param)
  },
  add(param) {
    return req.post("/api8.infomation/createInfo", param)
  },
  del(param) {
    return req.post("/api8.infomation/delete", param)
  },
  like(param) {
    return req.post("/api8.infomation/like", param)
  },
  addComment(param) {
    return req.post("/api8.infomation/comment", param)
  }
}